home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gCursorReady
- puppetSprite(46, 1)
- gCursorReady = 0
- set the mouseDownScript to EMPTY
- set the mouseUpScript to EMPTY
- sprite(22).visible = 0
- end
-
- on checktheroll
- repeat with i = 1 to 48
- if rollOver(i) then
- put i
- end if
- end repeat
- end
-
- on idle
- global gCursorReady
- if gCursorReady = 1 then
- cursor(200)
- checkCursors()
- set the locH of sprite 46 to the mouseH
- set the locV of sprite 46 to the mouseV
- updateStage()
- end if
- end
-
- on checkCursors
- global gMagCursor
- set the castNum of sprite 46 to the number of member "curs1"
- if the castNum of sprite 5 and rollOver(5) then
- set the castNum of sprite 46 to the number of member gMagCursor
- end if
- if the castNum of sprite 3 and rollOver(3) then
- set the castNum of sprite 46 to the number of member "cursLeft"
- end if
- if the castNum of sprite 4 and rollOver(4) then
- set the castNum of sprite 46 to the number of member "cursRight"
- end if
- if the castNum of sprite 5 and rollOver(5) then
- set the castNum of sprite 46 to the number of member "cursDown"
- end if
- if the castNum of sprite 6 and rollOver(6) then
- set the castNum of sprite 46 to the number of member "cursUp"
- end if
- if the castNum of sprite 10 and rollOver(10) then
- set the castNum of sprite 46 to the number of member "hotCursor"
- end if
- if the castNum of sprite 18 and rollOver(18) then
- set the castNum of sprite 46 to the number of member "hotCursor"
- end if
- repeat with i = 23 to 25
- if the castNum of sprite i and rollOver(i) then
- set the castNum of sprite 46 to the number of member "magCursor"
- end if
- end repeat
- if the castNum of sprite 26 and rollOver(26) then
- set the castNum of sprite 46 to the number of member "deMagCursor"
- end if
- end
-
- on initmovies
- global currentmovie, currentframe
- currentmovie = "Dummy"
- end
-
- on initcursor
- set the cursor of sprite 3 to 131
- set the cursor of sprite 4 to 129
- set the cursor of sprite 6 to 3
- set the cursor of sprite 10 to 132
- set the cursor of sprite 12 to 3
- end
-
- on unsetcursor
- set the cursor of sprite 3 to 0
- set the cursor of sprite 4 to 0
- set the cursor of sprite 6 to 0
- set the cursor of sprite 10 to 0
- set the cursor of sprite 12 to 0
- end
-